/*
 * author      : 吴中勤
 * date        : 2018/8/11
 * description : TODO
 */

package com.deepexi.adapter.converter;


import com.deepexi.adapter.facade.moby.request.MobyEventBody;
import com.deepexi.adapter.facade.moby.response.BaseResponseBody;

public interface MobyEventHandler {

    /** 支付订金完成 */
    BaseResponseBody onDepositPaid(MobyEventBody eventBody) throws Exception;

    /** 订单 犹豫期结束 */
    BaseResponseBody onCoolingOffPeriodEnded(MobyEventBody eventBody) throws Exception;

    /** 订金退款完成 */
    BaseResponseBody onDepositRefunded(MobyEventBody eventBody) throws Exception;

    /** 分车成功 */
    BaseResponseBody onVehicleLocked(MobyEventBody eventBody) throws Exception;

    /** 取消分车成功 */
    BaseResponseBody onVehicleUnlocked(MobyEventBody eventBody) throws Exception;

    /** 金融方案确定 */
    BaseResponseBody onLoanConfirmed(MobyEventBody eventBody) throws Exception;

    /** 保险方案确定 */
    BaseResponseBody onInsuranceConfirmed(MobyEventBody eventBody) throws Exception;

    /** 向订单中添加 赠品(精品包/保养包)  */
    BaseResponseBody onOfferBoutiqueOrMaintain(MobyEventBody eventBody) throws Exception;

    /** 修改商务顾问 */
    BaseResponseBody onConsultChanged(MobyEventBody eventBody) throws Exception;

    /** 购车指标人 TODO 参数 */
    BaseResponseBody onBuyerIndex(MobyEventBody eventBody) throws Exception;

    /** 精品变更 */
    BaseResponseBody onBoutiqueChanged(MobyEventBody eventBody) throws Exception;

    /** 首付已确认 */
    BaseResponseBody onDownPaymentConfirmed(MobyEventBody eventBody) throws Exception;

    /** 结算 */
    BaseResponseBody onBilling(MobyEventBody eventBody) throws Exception;

    /** 尾款已收 */
    BaseResponseBody onFinalPaymentConfirmed(MobyEventBody eventBody) throws Exception;

    /** 精品已出库 */
    BaseResponseBody onBoutiqueStockOut(MobyEventBody eventBody) throws Exception;

    /** 车辆已出库 */
    BaseResponseBody onVehicleStockOut(MobyEventBody eventBody) throws Exception;

}
